package org.example.book.service;

import org.apache.ibatis.annotations.Param;
import org.example.book.entity.Book;

import java.util.List;

public interface BookService {
    public List<Book> getBooks();
    public Book getBookById(Long id);
    public List<Book> getBooksByConditions(String type, String name, String information);
    Book updateBook(Book book);
    int deleteBook(Long id);
    Book addBook(Book book);
}
